import rxAjax from '@/assets/js/ajax.js';

const SysPropertiesApi = {};

SysPropertiesApi.baseUrl= '/api-system/system/core/sysProperties';

//根据key获取配置
SysPropertiesApi.getConfigByKey =function (key){
    let url ="/api-system/system/core/sysProperties/getConfigValueByKey?key="+key;
    return rxAjax.get(url);
}

SysPropertiesApi.getConfigMapByTenant =function() {
    let url= SysPropertiesApi.baseUrl + '/getConfigMapByTenant';
    return rxAjax.get(url);
}

export  default SysPropertiesApi;
